<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title></title>
		<script src="js/vue.js"></script>
	</head>
	<body>
		<div id="app"><button @click="show">按钮</button>{{message}}</div>
	</body>
	<script type="text/javascript">
		const app = new Vue({
			el:"#app",
			data:{
				message : 'hello world',
				name : 'ray'
			},
			methods:{
				show(){
					console.log(this.message);
				}
			}
		})
	</script>
</html>
